package com.qinge.blog.service;

import com.qinge.blog.entity.BlogContent;
import com.qinge.blog.entity.BlogContentType;
import com.qinge.blog.entity.BlogType;

import java.util.List;

/**
 * @author QDW
 * @date 2022/5/16 16:35
 * @description 内容 分类
 **/
public interface BlogContentTypeService {

    void add(BlogContentType... contentTypes);

    void addByList(List<BlogContentType> contentTypes);

    void removeByConIds(String ...conIds);

    void removeByTypeIds(String ... typeIds);

    void removeByConIdList(List<String> conIds);

    void removeByTypeIdsList(List<String> typeIds);

    List<BlogContent> findContentsByTypeId(String typeId);

    int findCountByTypeId(String typeId);

    BlogType findTypeByConId(String ConId);
}
